package com.asiainfo.bean;

/**
 * Created by ThinkPad on 2018/1/4.
 */
public class ResponseVo {

    //响应body
    private ResponseBodyVo body;
    //错误消息描述
    private String errMsg;
    //0为通过，其他值为错误
    private Integer errorCode;
    //保留字段
    private String message;
    //签名
    private String signature;

    public ResponseBodyVo getBody() {
        return body;
    }

    public void setBody(ResponseBodyVo body) {
        this.body = body;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ResponseVo{");
        sb.append("body=").append(body);
        sb.append(", errMsg='").append(errMsg).append('\'');
        sb.append(", errorCode=").append(errorCode);
        sb.append(", message='").append(message).append('\'');
        sb.append(", signature='").append(signature).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
